package com.dhecp.project.business.domain;

import java.util.Date;

import com.dhecp.core.domain.BaseBusinessEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 采购入库单 实体类
 * @author DH-lwl
 * @version 2019年12月11日
 */
public class StockIn extends BaseBusinessEntity{

	private static final long serialVersionUID = 1L;

	private Double fPrice;	//实际进价
	private String pcid;	//采购公司编码
	private String gDepot;	//入库仓库编码
	private String vHJ;		//货架
	private String vKcSm;	//库存说明
	private String htGuid;	//销售合同GUID
	private String htBid;	//销售合同单号
	private String sqGuid;	//申请单GUID
	private String sqBid;	//申请单号
    private String cgGuid;	//采购合同GUID
    private String cgBid;	//采购合同单号
    private String gcGuid;	//工程任务GUID
    private String gcBid;	//工程任务单号
	private String pUser;	//采购员工号
	private String pDept;	//采购部门路径
	private String gProvider;//供应商编号
	private String gPName;	//供应商名称
	private String vBhLx;	//备货类型
	private String bPID;	//客户BPID
	private String pBPID;	//分销商BPID
	private String cBPID;	//下单BPID
	private String vPAddress;//供应商地址
	private String vPMan;	//供应商联系人
	private String vPFax;	//联系人传真
	private String vPTel;	//联系人电话
	private String vFkFs;	//付款方式编码
	private String vDdh;	//订单号
	private String vRaZd;	//RA主导
	private String vRaXth;	//RA系统号
	private String vRaXs;	//RA销售
	private String vTjMc;	//特价名称
	private String vTjHm;	//特价号码
	private String vXdRXm;	//下单人
	private String vXdRDh;	//下单人电话
	private String vXdRYx;	//下单人邮箱
	private String vThYq;	//提货要求编码
	private Double fSumje;	//金额
	private Double fCgFpSl;	//采购税率
	private Double fXsFpsl;	//销售税率
	private Double fHsMj;	//含税面价
	private Double fWsMj;	//未税面价
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dCghq;		//采购交货期
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dHthq;		//合同交货期
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dSqhq;		//申请交货期
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dXdRq;		//下单日期
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dFhRq;		//供应商发货日期
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date gDate; 	//入库时间
    private String vCghq;	//采购货期
    private String vHthq;	//合同货期
    private String vSqhq;	//申请货期
    //虚拟字段
    private String pcidName; 	//采购公司
    private String gDepotName;	//入库仓库
	private String pUserName;	//采购员
	private String pDeptName;	//采购部门
    private String vFkFsName;	//付款方式
    private String vThYqName;	//提货要求

	public Double getfPrice() {
		if (fPrice == null) {
			return 0.0;
		}
		return fPrice;
	}
	public void setfPrice(Double fPrice) {
		this.fPrice = fPrice;
	}
	public String getPcid() {
		return pcid;
	}
	public void setPcid(String pcid) {
		this.pcid = pcid;
	}
	public String getgDepot() {
		return gDepot;
	}
	public void setgDepot(String gDepot) {
		this.gDepot = gDepot;
	}
	public String getvHJ() {
		if (vHJ == null || "".equals(vHJ)){
			return "默认";
		}
		return vHJ;
	}
	public void setvHJ(String vHJ) {
		this.vHJ = vHJ;
	}
	public String getvKcSm() {
		return vKcSm;
	}
	public void setvKcSm(String vKcSm) {
		this.vKcSm = vKcSm;
	}
	public String getHtGuid() {
		return htGuid;
	}
	public void setHtGuid(String htGuid) {
		this.htGuid = htGuid;
	}
	public String getHtBid() {
		return htBid;
	}
	public void setHtBid(String htBid) {
		this.htBid = htBid;
	}
	public String getSqGuid() {
		return sqGuid;
	}
	public void setSqGuid(String sqGuid) {
		this.sqGuid = sqGuid;
	}
	public String getSqBid() {
		return sqBid;
	}
	public void setSqBid(String sqBid) {
		this.sqBid = sqBid;
	}
	public String getCgGuid() {
		return cgGuid;
	}
	public void setCgGuid(String cgGuid) {
		this.cgGuid = cgGuid;
	}
	public String getCgBid() {
		return cgBid;
	}
	public void setCgBid(String cgBid) {
		this.cgBid = cgBid;
	}
	public String getGcGuid() {
		return gcGuid;
	}
	public void setGcGuid(String gcGuid) {
		this.gcGuid = gcGuid;
	}
	public String getGcBid() {
		return gcBid;
	}
	public void setGcBid(String gcBid) {
		this.gcBid = gcBid;
	}
	public String getpUser() {
		return pUser;
	}
	public void setpUser(String pUser) {
		this.pUser = pUser;
	}
	public String getpDept() {
		return pDept;
	}
	public void setpDept(String pDept) {
		this.pDept = pDept;
	}
	public String getgProvider() {
		return gProvider;
	}
	public void setgProvider(String gProvider) {
		this.gProvider = gProvider;
	}
	public String getgPName() {
		return gPName;
	}
	public void setgPName(String gPName) {
		this.gPName = gPName;
	}
	public String getvBhLx() {
		return vBhLx;
	}
	public void setvBhLx(String vBhLx) {
		this.vBhLx = vBhLx;
	}
	public String getbPID() {
		return bPID;
	}
	public void setbPID(String bPID) {
		this.bPID = bPID;
	}
	public String getpBPID() {
		return pBPID;
	}
	public void setpBPID(String pBPID) {
		this.pBPID = pBPID;
	}
	public String getcBPID() {
		return cBPID;
	}
	public void setcBPID(String cBPID) {
		this.cBPID = cBPID;
	}
	public String getvPAddress() {
		return vPAddress;
	}
	public void setvPAddress(String vPAddress) {
		this.vPAddress = vPAddress;
	}
	public String getvPMan() {
		return vPMan;
	}
	public void setvPMan(String vPMan) {
		this.vPMan = vPMan;
	}
	public String getvPFax() {
		return vPFax;
	}
	public void setvPFax(String vPFax) {
		this.vPFax = vPFax;
	}
	public String getvPTel() {
		return vPTel;
	}
	public void setvPTel(String vPTel) {
		this.vPTel = vPTel;
	}
	public String getvFkFs() {
		return vFkFs;
	}
	public void setvFkFs(String vFkFs) {
		this.vFkFs = vFkFs;
	}
	public String getvDdh() {
		return vDdh;
	}
	public void setvDdh(String vDdh) {
		this.vDdh = vDdh;
	}
	public String getvRaZd() {
		return vRaZd;
	}
	public void setvRaZd(String vRaZd) {
		this.vRaZd = vRaZd;
	}
	public String getvRaXth() {
		return vRaXth;
	}
	public void setvRaXth(String vRaXth) {
		this.vRaXth = vRaXth;
	}
	public String getvRaXs() {
		return vRaXs;
	}
	public void setvRaXs(String vRaXs) {
		this.vRaXs = vRaXs;
	}
	public String getvTjMc() {
		return vTjMc;
	}
	public void setvTjMc(String vTjMc) {
		this.vTjMc = vTjMc;
	}
	public String getvTjHm() {
		return vTjHm;
	}
	public void setvTjHm(String vTjHm) {
		this.vTjHm = vTjHm;
	}
	public String getvXdRXm() {
		return vXdRXm;
	}
	public void setvXdRXm(String vXdRXm) {
		this.vXdRXm = vXdRXm;
	}
	public String getvXdRDh() {
		return vXdRDh;
	}
	public void setvXdRDh(String vXdRDh) {
		this.vXdRDh = vXdRDh;
	}
	public String getvXdRYx() {
		return vXdRYx;
	}
	public void setvXdRYx(String vXdRYx) {
		this.vXdRYx = vXdRYx;
	}
	public String getvThYq() {
		return vThYq;
	}
	public void setvThYq(String vThYq) {
		this.vThYq = vThYq;
	}
	public Double getfSumje() {
		if (fSumje == null) {
			return 0.0;
		}
		return fSumje;
	}
	public void setfSumje(Double fSumje) {
		this.fSumje = fSumje;
	}
	public Double getfCgFpSl() {
		if (fCgFpSl == null) {
			return 0.0;
		}
		return fCgFpSl;
	}
	public void setfCgFpSl(Double fCgFpSl) {
		this.fCgFpSl = fCgFpSl;
	}
	public Double getfXsFpsl() {
		if (fXsFpsl == null) {
			return 0.0;
		}
		return fXsFpsl;
	}
	public void setfXsFpsl(Double fXsFpsl) {
		this.fXsFpsl = fXsFpsl;
	}
	public Double getfHsMj() {
		if (fHsMj == null) {
			return 0.0;
		}
		return fHsMj;
	}
	public void setfHsMj(Double fHsMj) {
		this.fHsMj = fHsMj;
	}
	public Double getfWsMj() {
		if (fWsMj == null) {
			return 0.0;
		}
		return fWsMj;
	}
	public void setfWsMj(Double fWsMj) {
		this.fWsMj = fWsMj;
	}
	public Date getdCghq() {
		return dCghq;
	}
	public void setdCghq(Date dCghq) {
		this.dCghq = dCghq;
	}
	public Date getdHthq() {
		return dHthq;
	}
	public void setdHthq(Date dHthq) {
		this.dHthq = dHthq;
	}
	public Date getdSqhq() {
		return dSqhq;
	}
	public void setdSqhq(Date dSqhq) {
		this.dSqhq = dSqhq;
	}
	public Date getdXdRq() {
		return dXdRq;
	}
	public void setdXdRq(Date dXdRq) {
		this.dXdRq = dXdRq;
	}
	public Date getdFhRq() {
		return dFhRq;
	}
	public void setdFhRq(Date dFhRq) {
		this.dFhRq = dFhRq;
	}
	public Date getgDate() {
		return gDate;
	}
	public void setgDate(Date gDate) {
		this.gDate = gDate;
	}
	public String getvCghq() {
		return vCghq;
	}
	public void setvCghq(String vCghq) {
		this.vCghq = vCghq;
	}
	public String getvHthq() {
		return vHthq;
	}
	public void setvHthq(String vHthq) {
		this.vHthq = vHthq;
	}
	public String getvSqhq() {
		return vSqhq;
	}
	public void setvSqhq(String vSqhq) {
		this.vSqhq = vSqhq;
	}
	public String getPcidName() {
		return pcidName;
	}
	public void setPcidName(String pcidName) {
		this.pcidName = pcidName;
	}
	public String getgDepotName() {
		return gDepotName;
	}
	public void setgDepotName(String gDepotName) {
		this.gDepotName = gDepotName;
	}
	public String getpUserName() {
		return pUserName;
	}
	public void setpUserName(String pUserName) {
		this.pUserName = pUserName;
	}
	public String getpDeptName() {
		return pDeptName;
	}
	public void setpDeptName(String pDeptName) {
		this.pDeptName = pDeptName;
	}
	public String getvFkFsName() {
		return vFkFsName;
	}
	public void setvFkFsName(String vFkFsName) {
		this.vFkFsName = vFkFsName;
	}
	public String getvThYqName() {
		return vThYqName;
	}
	public void setvThYqName(String vThYqName) {
		this.vThYqName = vThYqName;
	}
    
    
    
}
